
package com.be.beadmin.product.service;

import com.be.beadmin.common.entity.PageEntity;
import com.be.beadmin.design.dto.input.ProcessDto;
import com.be.beadmin.product.dto.input.PlantCapacityBaseDto;
import com.be.beadmin.product.dto.output.BaseCapacity;
import com.be.beadmin.product.dto.output.PlantCapacityBaseEx;
import com.be.beadmin.product.entity.PlantCapacityBase;
import org.springframework.data.domain.Page;

import java.util.List;

/**
* @description 服务接口
* @author ljh
* @date 2023-03-26
**/
public interface PlantCapacityBaseService {

    /**
    * 分页的查询接口
    * @param pageEntity
    * @return
    */
    Page<PlantCapacityBaseEx> getPlantCapacityBaseByPage(PageEntity pageEntity);

    /**
    * @param plantCapacityBaseDto
    */
    void addPlantCapacityBase(PlantCapacityBaseDto plantCapacityBaseDto);

    /**
    * @param plantCapacityBaseDto
    */
    void updatePlantCapacityBase(PlantCapacityBaseDto plantCapacityBaseDto);

    /**
    * @param id
    */
    void delPlantCapacityBase(String id);

    /**
    * 删除多个角色
    * @param ids
    */
    void delPlantCapacityBases (List<String> ids);


    BaseCapacity getPlantCapacityBase(ProcessDto processDto);

    PlantCapacityBase getProcessByProcessCodeAndDelete(String processCode, Integer delete);
}